<?php

$config = array(

	'modules'	=>	array(
		'gii'=>array(
			'class'=>'system.gii.GiiModule',
			'password'=>'1',
		 	// If removed, Gii defaults to lookupvietnam-dbserver only. Edit carefully to taste.
			'ipFilters'=>array('*.*.*.*','::1'),
		),
	),

	'components'	=>	array(
		'db'=>array(
			'schemaCachingDuration'=>0,
			'enableParamLogging' => true,
			'enableProfiling' => true,
		),
	    'log'=>array(
			'class'=>'CLogRouter',
			'routes'=>array(
				/*array(
					'class'=>'CFileLogRoute',
					'levels'=>'error, warning',

				),*/
				array(
				'class'=>'ext.yii-debug-toolbar.YiiDebugToolbarRoute',
				'ipFilters'=>array('127.0.0.1','192.168.1.215'),
				),

				// uncomment the following to show log messages on web pages
				/*array(
					'class'=>'CWebLogRoute',
				),*/
			),
		),

	),

);

return $config;